package com.example.service;

import com.example.pojo.formListPojo;

import java.util.List;

/**
 * ClassName:formListService
 * Package:com.example.service
 * Description:
 *
 * @Author：牧星苑
 * @Create 2025/9/19 12:29
 * @Version 1.0
 */
//新增一条表单
public interface formListService {
    String addFormSystemDocument(
            String id,
            String fileName,
            String number,
            String name,
            String nameEnglish,
            String nameRussian,
            String document_path,
            String upload_person);

    //查询所有表单信息
    List<formListPojo> queryAll();

    //更新表单信息，带不带附件走的都是这个接口
    String updateFormDocument(formListPojo pojo);

    //
    formListPojo getDocumentById(String id);

    //下载表单
    byte[] readFile(String fileName);
}
